home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AOL File Library: 9,300 to 9,399
/
9300.zip
/
AOLDLs
/
Sightings Multimedia Tools
/
MAC_ ZipIt 1.3.2
/
ZipIt 1.3.2.sit
/
ZipIt 1.3.2
/
Goodies
/
macszip
next >
Wrap
Text File
|
1994-01-21
|
518b
|
31 lines
#! /bin/sh
# Shell script to zip, MacBinarize, and ZMODEM download files.
if [ $# -lt 1 ]; then
echo
echo 'Usage: macszip directory|filename...'
echo
exit 1
fi
td=tmp/`basename $0`.$USER.$$
mkdir /$td
fn=`basename $1`
zip -r /$td/$fn.zip "$@"
cd /$td
mv $fn.zip $fn.zip.data
MAC_EDITOR='ZIP '
MAC_FILETYPE='ZIP '
MAC_DLOAD_DIR=.
MAC_EXT=.bin
export MAC_EDITOR MAC_FILETYPE MAC_DLOAD_DIR MAC_EXT
mcvert -Dd $fn.zip && sz -b -l 1024 $fn.zip.bin
sendrc=$?
cd ..
rm -r /$td || sendrc=$?
exit $sendrc